<%@page contentType="text/html;charset=UTF-8" language="java"%>
<%
String name =  (String) request.getAttribute("name");

String title = "Google search";
String description = "Google search.Evaluation site - collection and analysis of data from domains. Comparative characteristic and tracking of important statistic parameters";
String keywords = "Evaluation,site,google pagerank,ip,whois,reviews site,app engine";
if(name != null)
{
	title = "Google search " + name;
	description = "Google search "+name+".Evaluation site - collection and analysis of data from domains. Comparative characteristic and tracking of important statistic parameters";
	keywords = "Evaluation,site,google pagerank,ip,whois,reviews site,app engine,"+name;
}

%>
<jsp:include page="/layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keywords %>"/>
</jsp:include>

	<div class="b">
<form action="/gsearch" id="cse-main-search-box">
	<input type="hidden" name="cx"
		value="000931629240042636797:6wfp250pauw" /> <input type="hidden"
		name="cof" value="FORID:10" /> <input type="hidden" name="ie"
		value="UTF-8" /> <input id="cse-main-search-text" type="text"
		name="q" autocomplete="on" class="input_search" style="width:450px;"/> <input type="submit" name="sa"
		value="Search" />
</form>
<script type="text/javascript" src="//www.google.com/jsapi"></script>
<script type="text/javascript">
	google.load('search', '1');
	google.setOnLoadCallback(function() {
		google.search.CustomSearchControl.attachAutoCompletionWithOptions(
				'013315504628135767172:d6shbtxu-uo+qptype:1', document
						.getElementById('cse-main-search-text'),
				'cse-main-search-box', {
					'styleOptions' : {
						'widthOffset' : 150
					}
				});
	});
</script>

<div id="cse-main-search-results"></div>
<script type="text/javascript">
	var googleSearchIframeName = "cse-main-search-results";
	var googleSearchFormName = "cse-main-search-box";
	var googleSearchFrameWidth = 728;
	var googleSearchDomain = "www.google.com";
	var googleSearchPath = "/cse";
</script>
<script type="text/javascript"
	src="http://www.google.com/afsonline/show_afs_search.js"></script>
</div>

<%@ include file='/layout/footer.jsp'%>	
<style type="text/css">
	#cse-main-search-results iframe {
    height: 1400px;
    width: 728px;
}
.gs-webResult{
width: auto;
}
</style>